package day04;

import java.util.Scanner;

/**
 * @author tongchen
 * @create 2022-11-23 19:12
 */
public class Day04_01 {
    public static void main(String[] args) {
        //定义输入
        Scanner scan=new Scanner(System.in);
        int[]arr=new int[4];
        for(int i=0;i<4;++i){
            arr[i]=scan.nextInt();
        }
        //定义abcd
        int a=(arr[0]+arr[2])/2;
        int b=arr[2]-a;
        int c=arr[3]-b;
        if(b-c==arr[1])
        System.out.println(a+" "+b+" "+c);
        else {
            System.out.println("No");
        }
    }
}
